package DAO;

import java.util.ArrayList;

import model.UserDTO;
import model.UserSearchNameDTO;

public interface UserDAO {
	
	public UserDTO findbyId(int userId) throws NotFoundException;
    public int insertUser(UserDTO user) throws NotFoundException;
    public void updateUser(UserDTO user) throws NotFoundException;
    public void deleteUser(UserDTO user) throws NotFoundException;
//    public int findAllID() throws NotFoundException;
    public ArrayList<UserDTO> findAllUser() throws NotFoundException;
    public UserDTO findUserId(int userId) throws NotFoundException;
    public String findManagerEmail(int userId) throws NotFoundException;
    public String findUserEmail(int userId) throws NotFoundException;
}
